m=10; n=10; order=[2,5,8,9,3,7,7,10,2,6,3,8,10,2,6,2,1,9,1,4,9,6,4,10,9,5,5,8,5,2,8,10,8,7,1,2,3,6,5,8,9,6,9,3,3,4,1,6,7,7,2,10,3,8,9,1,3,1,6,3,5,8,9,10,7,3,5,7,5,9,2,4,6,1,7,8,4,3,10,1,8,1,6,4,2,4,4,10,1,7,5,4,9,6,4,7,10,2,5,10]; machine=[|1,2,3,4,5,6,7,8,9,10| 1,2,4,3,6,5,8,7,9,10| 3,4,5,6,7,8,9,10,1,2| 4,5,6,7,1,2,3,8,9,10| 10,9,8,7,6,5,4,3,2,1| 4,3,5,2,6,1,7,8,9,10| 5,6,4,3,2,1,7,8,9,10| 1,2,3,4,5,10,9,8,7,6| 3,4,5,6,7,8,9,10,1,2| 4,5,6,3,8,9,10,2,1,7|]; time=[|6,7,8,9,12,10,11,4,5,6| 6,8,18,17,16,3,4,5,6,18| 5,6,7,8,10,17,16,5,6,9| 6,9,2,8,3,7,5,8,10,11| 5,8,6,9,3,9,10,10,12,7| 4,3,9,8,10,12,14,15,8,6| 2,3,4,5,6,7,8,10,2,4| 4,6,7,8,9,3,2,10,13,14| 5,6,7,8,9,3,15,6,4,3| 4,5,9,8,7,6,18,17,5,4|];